import Vue from 'vue'
import App from './App.vue'
import store from './store/index.js'
import ElementUi from "element-ui"
import "element-ui/lib/theme-chalk/index.css"
// import router from './router'
// import {hunhe1,hunhe2} from './utils/mixin'
// import plugin from './plugin/plugin';
import router from "@/router/indexs.js"
// import service from "@/api/request"
Vue.config.productionTip = false;
Vue.use(ElementUi);

// Vue.mixin(hunhe1);
// Vue.mixnder(cin(hunhe2);
// Vue.use(plugin,1,2,3);

console.log(router);
new Vue({
  // 将App组件放入容器中
  render: h => h(App),
  router,
  // rereateElement){
  //   return createElement(App)
  // }
  store,
  beforeCreate(){
    Vue.prototype.$bus = this;
  }
}).$mount('#app')

